package com.imvc.action;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author ml
 * @create 2017-10-18--17:07
 */
public class IndexAction implements Action {
    @Override
    public ActionResult execute(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        req.setAttribute("name","jiajia");
        return new ActionResult(new ResultContent("index.jsp"));
    }
}
